title {Sample geometry with a radial gridlines and a shadow-casting light}
units m
put {cylinder.r} comb region yes tree {- {- {- {- {- {l c1.tgc} {l c1i.tgc}} {l c1c1.arb8}} {l c1c2.arb8}} {l c1c3.tgc}} {l c1c4.tgc}}
attr set {cylinder.r} {region} {R} {region_id} {1003} {material_id} {1} {los} {100}
put {50m_ring.s} tor V {0 0 0}  H {6.12323399573676603586882E-17 0 -1}  r_a 50000 r_h 100
put {40m_ring.s} tor V {0 0 0}  H {6.12323399573676603586882E-17 0 -1}  r_a 40000 r_h 100
put {30m_ring.s} tor V {0 0 0}  H {6.12323399573676603586882E-17 0 -1}  r_a 30000 r_h 100
put {20m_ring.s} tor V {0 0 0}  H {6.12323399573676603586882E-17 0 -1}  r_a 20000 r_h 100
put {10m_ring.s} tor V {0 0 0}  H {6.12323399573676603586882E-17 0 -1}  r_a 10000 r_h 100
put {c1c2.arb8} arb8 V1 {-1449.999999999999545252649 -99.99999999999998578914528 0}  V2 {-1449.999999999999545252649 100 0}  V3 {-1449.999999999999545252649 100 1900}  V4 {-1449.999999999999545252649 -99.99999999999998578914528 1900}  V5 {-449.9999999999999431565811 -99.99999999999998578914528 0}  V6 {-449.9999999999999431565811 100 0}  V7 {-449.9999999999999431565811 100 1900}  V8 {-449.9999999999999431565811 -99.99999999999998578914528 1900} 
put {c1c1.arb8} arb8 V1 {1450 -500 1250}  V2 {1450 500 1250}  V3 {1450 500 1750}  V4 {1450 -500 1750}  V5 {450 -500 1250}  V6 {450 500 1250}  V7 {450 500 1750}  V8 {450 -500 1750} 
put {ground.s} arb8 V1 {60000.00000000002182787284 -60000.00000000002182787284 -100}  V2 {60000.00000000002182787284 60000.00000000002182787284 -100}  V3 {60000.00000000002182787284 60000.00000000002182787284 0}  V4 {60000.00000000002182787284 -60000.00000000002182787284 0}  V5 {-60000.00000000001455191523 -60000.00000000002182787284 -100}  V6 {-60000.00000000001455191523 60000.00000000002182787284 -100}  V7 {-60000.00000000001455191523 60000.00000000002182787284 0}  V8 {-60000.00000000001455191523 -60000.00000000002182787284 0} 
put {ground.r} comb region yes tree {l ground.s}
attr set {ground.r} {region} {R} {region_id} {1000} {material_id} {1} {los} {100} {color} {0/255/0}
put {c1c4.tgc} tgc V {-6.123233995736766242944808E-14 -500 1000}  H {0 -1000 6.123233995736767505122256E-14}  A {200 0 0}  B {0 1.224646799147353374806706E-14 -200}  C {200 0 0}  D {0 1.224646799147353374806706E-14 -200} 
put {c1c3.tgc} tgc V {0 500 1500}  H {0 1000 6.123233995736764980767359E-14}  A {200 0 0}  B {0 1.224646799147353374806706E-14 -200}  C {200 0 0}  D {0 1.224646799147353374806706E-14 -200} 
put {165deg.s} tgc V {53125.92044589875149540603 -14235.04748063865554286167 0}  H {-106251.8408917975175427273 28470.09496127731472370215 6.735557395310443447840915E-12}  A {-5.91458985689334876413324E-15 1.584809575715884060677382E-15 -100}  B {-25.88190451025210236934981 -96.59258262890682544821175 0}  C {-5.91458985689334876413324E-15 1.584809575715884060677382E-15 -100}  D {-25.88190451025210236934981 -96.59258262890682544821175 0} 
put {135deg.s} tgc V {38890.87296526011050445959 -38890.8729652601177804172 0}  H {-77781.74593052023556083441 77781.74593052025011274964 6.735557395310443447840915E-12}  A {-4.329780281177466281177668E-15 4.329780281177467070038573E-15 -100}  B {-70.71067811865475505328504 -70.71067811865474084243033 0}  C {-4.329780281177466281177668E-15 4.329780281177467070038573E-15 -100}  D {-70.71067811865475505328504 -70.71067811865474084243033 0} 
put {105deg.s} tgc V {14235.04748063864644791465 -53125.92044589875877136365 0}  H {-28470.09496127729653380811 106251.8408917975320946425 6.735557395310443447840915E-12}  A {-1.58480957571588307460125E-15 5.914589856893349552994145E-15 -100}  B {-96.59258262890682544821175 -25.88190451025208460578142 0}  C {-1.58480957571588307460125E-15 5.914589856893349552994145E-15 -100}  D {-96.59258262890682544821175 -25.88190451025208460578142 0} 
put {150deg.s} tgc V {47631.39720814413158223033 -27499.99999999999636202119 0}  H {-95262.79441628826316446066 55000 6.735557395310443447840915E-12}  A {-5.302876193624534820650073E-15 3.061616997868382648155861E-15 -100}  B {-49.99999999999999289457264 -86.60254037844387653422018 0}  C {-5.302876193624534820650073E-15 3.061616997868382648155861E-15 -100}  D {-49.99999999999999289457264 -86.60254037844387653422018 0} 
put {120deg.s} tgc V {27499.99999999998908606358 -47631.39720814413158223033 0}  H {-54999.99999999998544808477 95262.79441628826316446066 6.735557395310443447840915E-12}  A {-3.061616997868381859294956E-15 5.302876193624534820650073E-15 -100}  B {-86.60254037844387653422018 -49.99999999999997868371793 0}  C {-3.061616997868381859294956E-15 5.302876193624534820650073E-15 -100}  D {-86.60254037844387653422018 -49.99999999999997868371793 0} 
put {light.s} ell V {0 0 1500}  A {10 0 0}  B {0 10 0}  C {0 0 10} 
put {light.r} comb region yes tree {l light.s}
attr set {light.r} {oshader} {light {f 10 s 32 v 0}} {region} {R} {shader} {light {f 10.0 s 32 v 0}} {region_id} {1002} {material_id} {1} {los} {100} {color} {255/255/255}
put {c1i.tgc} tgc V {0 0 0}  H {0 0 1900}  A {900 0 0}  B {0 900 0}  C {900 0 0}  D {0 900 0} 
put {75deg.s} tgc V {-14235.04748063864099094644 -53125.92044589875877136365 0}  H {28470.09496127728561987169 106251.8408917975320946425 6.735557395310443447840915E-12}  A {1.584809575715882482955572E-15 5.914589856893349552994145E-15 -100}  B {-96.59258262890682544821175 25.88190451025207394764038 0}  C {1.584809575715882482955572E-15 5.914589856893349552994145E-15 -100}  D {-96.59258262890682544821175 25.88190451025207394764038 0} 
put {45deg.s} tgc V {-38890.8729652601177804172 -38890.8729652601177804172 0}  H {77781.74593052025011274964 77781.74593052025011274964 6.735557395310443447840915E-12}  A {4.329780281177467070038573E-15 4.329780281177467070038573E-15 -100}  B {-70.71067811865475505328504 70.71067811865475505328504 0}  C {4.329780281177467070038573E-15 4.329780281177467070038573E-15 -100}  D {-70.71067811865475505328504 70.71067811865475505328504 0} 
put {15deg.s} tgc V {-53125.92044589875877136365 -14235.04748063864099094644 0}  H {106251.8408917975320946425 28470.09496127728561987169 6.735557395310443447840915E-12}  A {5.914589856893349552994145E-15 1.584809575715882482955572E-15 -100}  B {-25.88190451025207394764038 96.59258262890682544821175 0}  C {5.914589856893349552994145E-15 1.584809575715882482955572E-15 -100}  D {-25.88190451025207394764038 96.59258262890682544821175 0} 
put {90deg.s} tgc V {-3.367778697655221320023674E-12 -55000 0}  H {6.735557395310443447840915E-12 110000.0000000000145519152 6.735557395310443447840915E-12}  A {3.749399456654643800636173E-31 6.123233995736766085172627E-15 -100}  B {-100 6.123233995736766085172627E-15 0}  C {3.749399456654643800636173E-31 6.123233995736766085172627E-15 -100}  D {-100 6.123233995736766085172627E-15 0} 
put {60deg.s} tgc V {-27500.00000000000727595761 -47631.39720814412430627272 0}  H {55000.00000000002182787284 95262.79441628826316446066 6.735557395310443447840915E-12}  A {3.061616997868383437016766E-15 5.302876193624534031789167E-15 -100}  B {-86.60254037844386232336547 50.00000000000001421085472 0}  C {3.061616997868383437016766E-15 5.302876193624534031789167E-15 -100}  D {-86.60254037844386232336547 50.00000000000001421085472 0} 
put {30deg.s} tgc V {-47631.39720814413158223033 -27499.99999999999636202119 0}  H {95262.79441628826316446066 55000 6.735557395310443447840915E-12}  A {5.302876193624534820650073E-15 3.061616997868382253725408E-15 -100}  B {-49.99999999999999289457264 86.60254037844387653422018 0}  C {5.302876193624534820650073E-15 3.061616997868382253725408E-15 -100}  D {-49.99999999999999289457264 86.60254037844387653422018 0} 
put {grid.r} comb region yes tree {u {u {u {u {u {l 50m_ring.s} {l 40m_ring.s}} {u {l 30m_ring.s} {l 20m_ring.s}}} {u {u {l 10m_ring.s} {l 0deg.s}} {u {l 15deg.s} {l 30deg.s}}}} {u {u {u {l 45deg.s} {l 60deg.s}} {u {l 75deg.s} {l 90deg.s}}} {u {u {l 105deg.s} {l 120deg.s}} {u {l 135deg.s} {l 150deg.s}}}}} {l 165deg.s}}
attr set {grid.r} {region} {R} {shader} {plastic} {region_id} {1001} {material_id} {1} {los} {100} {color} {255/255/255}
put {c1.tgc} tgc V {0 0 0}  H {0 0 2000}  A {1000 0 0}  B {0 1000 0}  C {1000 0 0}  D {0 1000 0} 
put {0deg.s} tgc V {-55000 0 0}  H {110000.0000000000145519152 0 6.735557395310443447840915E-12}  A {6.123233995736766085172627E-15 0 -100}  B {0 100 0}  C {6.123233995736766085172627E-15 0 -100}  D {0 100 0} 
put {all.g} comb region no tree {u {u {u {- {l ground.r} {l grid.r}} {- {l grid.r} {l c1.tgc}}} {l cylinder.r}} {l light.r}}
